gadget: Avoid warning for empty containers
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Dec 2015 22:52:47 +0000 (17:52 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Dec 2015 22:52:47 +0000 (17:52 -0500)
commitf3c95e1c63575ec818b65b448de4991a9e158547
treebdf61ca358c27838d0e4fec8dbeb07afe3dbff66
parent09d9674d696c417d23a498c460cb4ad9c5323d02
gadget: Avoid warning for empty containers

Empty boxes end up setting the clip to { 0, 0, 0, 0}, so warning
for a width or height of 0 triggers false positives. Instead,
initialize the clip to clearly invalid values.
gtk/gtkcssgadget.c